<ul>
    <?php if (isset($errors)): ?>
        <?php foreach ($errors as $err): ?>
        <li><?php echo $err ?></li>
        <?php endforeach; ?>
    <?php endif; ?>
</ul>

<form action="<?php echo base_url('sponsors/ajout') ?>" method="POST" enctype="multipart/form-data">
    <label>Nom </label><input id="nom" name="nom" type="text" />
    <label>Description </label><textarea id="description" name="description"></textarea>
    <input type="hidden" name="MAX_FILE_SIZE" value="2097152"> 
    <label>Logo </label><input type="file" name="logo" />
    <label>Link </label><input type="text" name="link" />
    <input type="submit" value="Valider" class="btn"/>
</form>